package com.service.impl;

import com.service.UserService;
import dao.UserDao;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class UserServiceImol implements UserService {
    private UserDao userDao;

    public UserServiceImol() {
    }

    public UserServiceImol(UserDao userDao) {
        this.userDao = userDao;
    }

    /*public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }*/


    @Override
    public void save() {

        userDao.save();
 }
}
